package com.team11.server.controller.admin;

import com.team11.server.pojo.TInformation;
import com.team11.server.service.admin.Admin_Term_Sel_T_Service;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
@CrossOrigin
@RestController
@Api(tags = "管理员接口")
public class Admin_TermSelT_Controller {
    @Autowired
    private Admin_Term_Sel_T_Service admin_term_sel_t_service;
    @ApiOperation("条件查询教师")
    @PostMapping("/Term_Sel_T")
    public List<TInformation> TermSelTeacher(TInformation tInformation){
        return admin_term_sel_t_service.TermSelT(tInformation);
    }
}
